package com.cc.cloud.order.feign;

import com.cc.cloud.order.feign.fallback.MemberFeignFallback;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(value = "cloud-service-member", fallback = MemberFeignFallback.class)
public interface MemberFeign {
    @RequestMapping("/getUserList")
    List<String> getOrderByUserList();
}